{include file="public/head"/}

<div class="container-fluid">
<div class="ntDesktop">

    {include file="product/productpublic"/}

        <table class="table table-striped table-hover ntTable" style="padding-top:0">
            <thead>
                <tr>
                    <th>{:lang("model")}</th>
                    <th>{:lang("factory_model")}</th>
                    <th>{:lang("package")}</th>
                    {if isset($feature_name)}
                        {foreach $feature_name as $k5=>$v5}
                            <th>{$v5}</th>
                        {/foreach}
                    {/if}
                    <th>{:lang("box_measure")}</th>
                    <th>{:lang("description")}</th>
                    <th>{:lang('status')}</th>
                    <th>{:lang("barcode")}</th>
                    <th>{:lang('edit')}</th>
                    <th>{:lang('operate')}</th>
                </tr>
            </thead>
            <tbody>
                {if isset($checkRead_role)}
                {foreach $checkRead_role as $k3=>$v3}
                <tr>
                    <td>{$v3.model}</td>
                    <td>{$v3.factory_model}</td>
                    <td>{$v3.package_qty}</td>
                    {if isset($v3.feature_value)}
                        {foreach $v3.feature_value as $k4=>$v4}
                            <td>{$v4}</td>
                        {/foreach}
                    {/if}
                    <td>{$v3.ctn_size}</td>
                    <td>{$v3.note_content}</td>
                    <td >{$v3.status_name}</td>
                    <td>{$v3.codebar}</td>
                    <td> {$v3.create_name} <br /><small>{$v3.create_at}</small></td>
                    <td class="text-right">
                        <a href="{:url('product/productEdit',array('request'=>'edit','id'=>$id))}" type="button" class="btn btn-sm btn-default" data-id='{$v3.id}'><span class="glyphicon glyphicon-pencil"></span>{:lang('edit')}</a>
                        <a href="{:url('product/detailCopy',array('request'=>'return','id'=>$v3.id))}" type="button" class="btn btn-sm btn-primary"  data-toggle="modal" data-target="#procharCopy"><span class="fa fa-copy"></span>{:lang('copy')}</a>
                    </td>
                </tr>
                {/foreach}
                {/if}
            </tbody>
        </table>
    </div>
  </div>


  </div>
</div>


<!-- 复制弹窗部分 -->
<div class="modal fade" id="procharCopy" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"  data-backdrop="static" data-keyboard="false">
    <div class="modal-dialog modal-lg" style="width:80%">
        <div class="modal-content">
           
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

{include file="public/foot"/}